package com.pronhub.cloud.shop.service;

import com.pronhub.cloud.shop.domain.SeckillOrder;

//提供给定订单服务的接口
public interface ISeckillOrderService {
    SeckillOrder findByUserIdAndSeckillId(Long id, Long seckillId);

    /**
     * 中间表的那个
     * @param userId
     * @param seckillId
     * @param orderNo
     */
    void createSeckillOrder(Long userId, Long seckillId, String orderNo);
}
